<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>s3 javascript sdk参考</title>
</head>
<body>
	<input id="fileInput" type="file"/><button onclick="uploadFile();">直接上传</button>
	<button onclick="uploadFileByPresignUrl();">使用预签名地址上传</button>
	<hr/>
	文件名称：<input id="fileName" type="text" />
	<button onclick="queryObjects()">查询</button>
	<table style="border: 1px solid #ebebeb;width: 900px; margin-top: 10px;text-align: center">
		<thead>
		<tr>
			<th>文件名</th>
			<th>文件大小（字节）</th>
			<th>创建时间</th>
		</tr>
		</thead>
		<tbody id="fileList">
		</tbody>
	</table>
</body>
<script src="../js/aws/aws-sdk-2.686.0.js"></script> 	<!--s3的sdk依赖文件-->
<script src="../js/jquery/jquery-1.11.2.min.js"></script>
<script src="../js/ajax/ajax.js"></script>
<script src="../js/s3-demo.js"></script>

</html>